package com.example.dao;

import com.example.pojo.AgencyType;
import com.example.pojo.LearningSituation;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface LearningSituationCrudRepository extends CrudRepository<LearningSituation, Integer>, JpaSpecificationExecutor<LearningSituation> {

    List<LearningSituation> getLearningSituationByTrainingPlanIdAndUserId(Integer trainingPlanId,Integer userId);

}
